# from django_restql import serializers
from rest_framework import serializers
from app_manage.models import RedisAppModel


class AppSerializer(serializers.ModelSerializer):
    created_at = serializers.DateTimeField(read_only=True, format="%Y-%m-%d %H:%M:%S")
    updated_at = serializers.DateTimeField(read_only=True, format="%Y-%m-%d %H:%M:%S")
    class Meta:
        model = RedisAppModel
        fields = '__all__'
